import request from "@/utils/request";
export const login = (params) => {
  return request({
    url: '/api/user/login',
    method: "POST",
    data: params
  })
}
export const register = (params) => {
  return request({
    url: '/api/user/register',
    method: "POST",
    data: params
  })
}